import { getCar } from "@/network/cart";
const actions = {
    updateCart({ commit }) {
        getCar().then(res => {
            commit('addCart', { count: res.data.length || 0 })
        })
    }
}

export default actions;